import java.util.Scanner;

public class money 
{

public static void main (String[] args) {

int fen1,fen2,fen5,jiao1,jiao5,yuan;

double all ;
Scanner in = new Scanner(System.in);
System.out.print ("One fen :");
fen1 = in.nextInt();
System.out.print ("Two fen :");
fen2 =in.nextInt() ;
System.out.print ("five fen :");
fen5 =in.nextInt();
System.out.print ("One jiao :");
jiao1 =in.nextInt();
System.out.print ("five jiao :");
jiao5 =in.nextInt();
System.out.print ("One yuan");
yuan =in.nextInt();
all = fen1*0.01 + fen2*0.02 + fen5*0.05 + jiao1*0.1 + jiao5*0.5 + yuan*1 ;
System.out.println("all :" + all);
}
}



